Class GameStartState

java.lang.Object
  extended by awgd.engine.states.AbstractState
      extended by GameStartState
All Implemented Interfaces:
KeyListener, EventListener

public class GameStartState
extends awgd.engine.states.AbstractState
implements KeyListener


Field Summary
 Image background
           
 awgd.engine.game.Sprite Background
           
 awgd.engine.game.ScreenImage bimg
           
 int counter
           
 awgd.engine.math.Vector2d enemyColl
           
 boolean falling
           
 int highScore
           
 int jump_counter
           
 boolean jump_lock
           
 int jumpCounter
           
 boolean jumping
           
 awgd.engine.math.Vector2d playerColl
           
 
Constructor Summary
GameStartState(awgd.engine.states.StateMachine fsm)
           
 
Method Summary
 void enemyControl()
           
 void enter()
           
 void exit()
           
 void keyPressed(KeyEvent e)
           
 void keyReleased(KeyEvent e)
           
 void keyTyped(KeyEvent e)
           
 void moveEnemy()
           
 void paint(Graphics g)
           
 void playerFall(boolean value)
           
 void playerJump(boolean value)
           
 void PlayerMove(KeyEvent e)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

background

public Image background

bimg

public awgd.engine.game.ScreenImage bimg

Background

public awgd.engine.game.Sprite Background

playerColl

public awgd.engine.math.Vector2d playerColl

enemyColl

public awgd.engine.math.Vector2d enemyColl

jumpCounter

public int jumpCounter

counter

public int counter

jumping

public boolean jumping

jump_lock

public boolean jump_lock

jump_counter

public int jump_counter

falling

public boolean falling

highScore

public int highScore
Constructor Detail

GameStartState

public GameStartState(awgd.engine.states.StateMachine fsm)
Method Detail

enter

public void enter()
Specified by:
enter in class awgd.engine.states.AbstractState

exit

public void exit()
Specified by:
exit in class awgd.engine.states.AbstractState

update

public void update()
Specified by:
update in class awgd.engine.states.AbstractState

paint

public void paint(Graphics g)
Specified by:
paint in class awgd.engine.states.AbstractState

enemyControl

public void enemyControl()

moveEnemy

public void moveEnemy()

playerJump

public void playerJump(boolean value)

playerFall

public void playerFall(boolean value)

PlayerMove

public void PlayerMove(KeyEvent e)

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener

keyTyped

public void keyTyped(KeyEvent e)
Specified by:
keyTyped in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener